<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>一把手网络服务大厅-中国睢宁门户网站群</title>
<meta name="keywords" content="一把手网络服务大厅,睢宁一把手网络服务大厅"></meta>
<meta name="description" content="中国睢宁一把手网络服务大厅,睢宁一把手网络服务大厅"></meta>
<link rel="stylesheet" href="css/ybscss.css"/>
<script type="text/javascript" src="js/jquery-1.8.2.js"></script>
<script type="text/javascript" src="js/sngov.js"></script>
<script charset="utf-8" src="js/editor/kindeditor.js"></script>
<script charset="utf-8" src="js/editor/lang/zh_CN.js"></script>
<script type="text/javascript">
function changeImg(){
	$("#imgCode").attr("src",'<s:url action="vCode" namespace="/" />?r='+Math.random());
}
KindEditor.ready(function(K) {
	window.editor = K.create('#content', {
		cssPath : 'js/editor/plugins/code/prettify.css',
		uploadJson : 'js/editor/jsp/upload_json.jsp',
		fileManagerJson : 'js/editor/jsp/file_manager_json.jsp',
		allowFileManager : true,
		afterCreate : function() {
			var self = this;
			K.ctrl(document, 13, function() {
				self.sync();
				document.forms['example'].submit();
			});
			K.ctrl(self.edit.doc, 13, function() {
				self.sync();
				document.forms['example'].submit();
			});  
		} 
	}); 
});
</script>
</head>

<body style=" background:url(images/ltymbg.jpg) no-repeat center top;">
	
<div style=" width:1005px; margin:auto;">
  <div style=" font-size:1px; height:40px;"></div>
    <div class="xx" style=" height:77px;">
		<jsp:include page="common/top_login.jsp" />	
    </div>
    <div style=" height:11px; font-size:1px;"></div>
    <div class="dh">
   	    <ul style=" margin-left:30px;" >
         	  <li><a target="_blank" href="ybs_index.jsp" >网站首页</a></li>
              <li><a target="_blank" href="<CMSPRO_CHANNEL CODE='jggk' FIELD='url'></CMSPRO_CHANNEL>" >媒体互动</a></li>
              <li><a target="_blank" href="<CMSPRO_CHANNEL CODE='gzzz' FIELD='url'></CMSPRO_CHANNEL>" >回复动态</a></li>
              <li><a target="_blank" href="<CMSPRO_CHANNEL CODE='gzdt' FIELD='url'></CMSPRO_CHANNEL>" >书记信箱</a></li>
              <li style=" background: none;"><a target="_blank" href="<CMSPRO_CHANNEL CODE='zwgk' FIELD='url'></CMSPRO_CHANNEL>" >县长信箱</a></li>
        </ul>
  </div>
  <div style=" height:47px; background:url(images/ltsjbg.jpg) repeat-x; line-height:47px;">
        	<table width="100%" height="47" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td  style=" text-indent:20px; color:#666;">
                <jsp:include page="common/date.jsp" />
                </td>
                <td width="36"><img src="images/lt2.jpg" /></td>
                <td width="409"><input name="ssnr" type="text" value="请输入搜索内容"  style=" text-indent:10px; width:409px; height:33px; line-height:33px; color:#999; font-size:14px; background:url(images/sssr.jpg) no-repeat; border:0px;" /></td>
                
                <td width="66"><input name="ss" type="button" style=" width:66px; height:33px; background:url(images/ssan.jpg) no-repeat; border:0px;" /></td>
              </tr>
            </table>

        </div>
        
        <div class="ltdh">一把手网络服务厅&nbsp;&nbsp;&gt;&nbsp;&nbsp; <s:property value="#request.module.name" /></div>
        
        <div class="zt">
        	<table width="100%" height="64" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="150" style=" font-weight:bold; font-size:14px; text-indent:20px;"><s:property value="#request.module.name" /> </td>
                <td width="80">今日：<span style=" color:#FF0000;"><s:property value="#request.module.bmReplyNum" /></span></td>
                <td width="80">主题：<span style=" color:#FF0000;"><s:property value="#request.module.topicNum" /></span></td>
                <td>&nbsp;</td>
                <td width="80" style=" background:url(images/xx.jpg) no-repeat 0px 50%; text-indent:25px;">收藏本版</td>
                <td width="80" style=" background:url(images/dyfk.jpg) no-repeat 10px 50%; text-indent:40px;">订阅</td>
              </tr>
              <tr>
                <td style=" text-indent:20px;">版主：<span style=" color:#C50000;">
                <s:property value="#request.module.moderators.userDetail.nickName" />
                </span></td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
              </tr>
            </table>

        </div>
        <div class="msht" style=" height:52px;">
        	<table width="100%" height="52" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="100"><input name="msft" type="button"  style=" width:98px; height:32px; background:url(images/ft.jpg) no-repeat; border:0px;"/></td>
                <td>&nbsp;</td>
                <td width="65"><input name="fh" type="button" style=" width:65px; height:28px; background:url(images/fh.jpg) no-repeat; border:0px;"/></td>
              </tr>
            </table>

        </div>
        <div class="qbxz">
        	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="xxa">
              <tr>
                <td width="70"><a href="#">全部</a></td>
                <td width="70"><a href="#">已回复</a></td>
                <td width="70"><a href="#">已处理</a></td>
                <td width="70"><a href="#">未处理</a></td>
                <td>&nbsp;</td>
              </tr>
            </table>

        </div>
        <div class="sx">
        	<table width="100%" height="35" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="51" style=" text-indent:10px; color:#464445;">筛选：</td>
                <td width="84"><select name="zt"><option>全部主题</option></select></td>
                <td width="99"><select name="sj"><option>全部时间</option></select></td>
                <td width="36">排序：</td>
                <td width="97"><select name="fb"><option >最后发表</option></select></td>
                <td width="40" style=" background:url(images/jh.jpg) no-repeat 0px 50%; text-indent:8px; color:#385F80;">精华</td>
                <td width="40" style=" background:url(images/jh.jpg) no-repeat 0px 50%; text-indent:8px;color:#385F80;">推荐</td>
                <td width="209" style=" text-align:right;"></td>
                <td width="33"></td>
                <td width="111">作者</td>
                <td width="83" style=" text-indent:10px;">回复/查看</td>
                <td width="120" style=" text-indent:10px;">最后发表</td>
              </tr>
            </table>
            
            


        </div>
        <div style=" border:1px solid #CBCDCA; border-top:0px; padding-bottom:10px;">
        <table width="980" border="0" cellspacing="0" cellpadding="0" style=" margin:auto;" class="lbbg">
        	<s:iterator value="#request.list" status="i">
              <tr>
                <td width="27">
                	<img src="images/lj1.jpg"  />
                </td>
                <td width="651" style=" font-size:14px; font-weight:bold; color:red;">
                	<a href="<s:url action="topic!queryTopicDetail"><s:param name="guid" value="guid"/></s:url>"><s:property value="title" /></a>
                </td>
                <td width="135" style=" padding-left:10px;"><span style="height:20px; line-height:20px;">
                	<s:if test="userDetail.nickName!=null">
                		<s:property value="userDetail.nickName" />
                	</s:if>
                	<s:if test="userDetail.nickName==null">
                		<s:property value="user.loginName" />
                	</s:if>
                </span><br />
                <span style=" color:#979998;height:18px; line-height:18px; font-size:12px;">
                	<s:date name="createTime" format="yyyy-MM-dd HH:mm" />
                </span></td>
                <td width="60" style="padding-left:10px;">
                	<span style="height:20px; line-height:20px;"><s:property value="clickNum"/> </span>
                	<br />
                	<span style=" color:#979998;height:18px; line-height:18px; font-size:12px;"><s:property value="replyNum"/></span></td>
                <td width="107" style="padding-left:10px;">
                 <s:if test="lastReply.size!=0">
               	 	<span style="height:20px; line-height:20px;">
		                <s:if test="lastReply.userDetail!=null">
		            	    <s:property value="lastReply.userDetail.nickName" />
		                </s:if>
		                <s:if test="lastReply.userDetail==null">
		            	    <s:property value="lastReply.user.loginName" />
		                </s:if>
                	</span>
                	<br />
                	<span style=" color:#979998;height:18px; line-height:18px; font-size:12px;">
                		<s:date name="lastReply.createTime" format="yyyy-MM-dd HH:mm" />
                	</span>
                </s:if>
               	<s:if test="lastReply.size==0">
               		<span style="height:20px; line-height:20px;">
                	<s:if test="userDetail.nickName!=null">
                		<s:property value="userDetail.nickName" />
                	</s:if>
                	<s:if test="userDetail.nickName==null">
                		<s:property value="user.loginName" />
                	</s:if>
	                </span><br />
	                <span style=" color:#979998;height:18px; line-height:18px; font-size:12px;">
	                	<s:date name="createTime" format="yyyy-MM-dd HH:mm" />
                </span>
                </s:if>
                </td>
              </tr>
             </s:iterator>
            </table>
        </div>
        
        <div style="width: 100%;padding-top: 10px;">
		<form id="addTopicForm" name="addTopicForm" action=" <s:url action="topic!addTopic"/>" method="post">
			<input type="hidden" name="topic.moduleGuid" value="<%=request.getParameter("module")%>"/>
<!-- 		表情： -->
<%-- 		<select id="icon" name="icon"> --%>
<!-- 			<option value=""> </option> -->
<%-- 		</select> --%>
		<div style="width: 100%;padding-top: 10px;">
			标题： <input type="text" id="title" name="topic.title" class="jzd" maxlength="45" />
		</div>
		<div style="width: 100%;padding-top: 10px;">
		<textarea id="content" name="topic.content" style="width: 100%;height: 300px;display: none;"></textarea>
		</div>
        <input type="submit" value="提交" style="width: 80px;height: 25px;" />
        </form>
        </div>
</div>
</body>
</html>
